toggle menu
JxBrowser
8.2.1
jvm
switch theme
search in API
JxBrowser
/
com.teamdev.jxbrowser.net
/
[jvm]ByteData
Byte
Data
public
interface
ByteData
implements
UploadData
An upload data as a sequence of bytes.
Members
Functions
bytes
Link copied to clipboard
public
Array
<
byte
>
bytes
(
)
Returns an array containing the upload data bytes of the associated URL request.
content
Type
Link copied to clipboard
public
ContentType
contentType
(
)
Returns the content type of this upload data as specified in the
Content-Type
header.
of
Link copied to clipboard
public
static
ByteData
of
(
Array
<
byte
>
data
)
public
static
ByteData
of
(
String
data
)
Creates an instance of
ByteData
with the given upload data bytes.
public
static
ByteData
of
(
Array
<
byte
>
data
,
ContentType
contentType
)
public
static
ByteData
of
(
String
data
,
ContentType
contentType
)
Creates an instance of
ByteData
with the given upload data bytes and content type.